package com.tsite.service.common.security;

import javax.servlet.http.HttpServletRequest;

import org.springframework.security.authentication.AuthenticationDetailsSource;
import org.springframework.stereotype.Controller;

@Controller
public class WebAuthenticationDetailsSourceImpl implements
		AuthenticationDetailsSource<HttpServletRequest, WebAuthenticationDetailsX> {

	@Override
	public WebAuthenticationDetailsX buildDetails(HttpServletRequest context) {
		return new WebAuthenticationDetailsX(context);
	}

}
